package com.example.tys.daggermvp.Application;


import android.annotation.SuppressLint;

import com.example.tys.daggermvp.dagger2.component.DaggerAppComponent;

import dagger.android.AndroidInjector;


/**
 * @author tys
 * @date 2018/4/14
 */

@SuppressLint("Registered")
public class DaggerApplication extends dagger.android.DaggerApplication {

    @Override
    protected AndroidInjector<? extends dagger.android.DaggerApplication> applicationInjector() {
        return DaggerAppComponent.builder().application(this).build();
    }
}

